package safari.model.buy;

import java.sql.SQLException;
import java.util.List;

import safari.model.member.MemberVO;

public interface BuyBoardDao {

	public int insertContent(BuyBoardVO bvo) throws SQLException;

	public BuyBoardVO showContent(int no) throws SQLException;

	public int updateHits(int no) throws SQLException;

	public List<BuyBoardVO> getContentList(int no) throws SQLException;

	public int totalContents() throws SQLException;

	public void updateContent(BuyBoardVO bvo) throws SQLException;

	public int deleteContent(int no) throws SQLException;
	
	public int showNo() throws SQLException;

	public int insertComment(BuyCommentVO bcvo) throws SQLException;

	public List<BuyCommentVO> getCommentList(int bno) throws SQLException;

	public int totalComments() throws SQLException;

	public void updateComment(BuyCommentVO bcvo) throws SQLException;

	public int deleteComment(int no) throws SQLException;

	public BuyCommentVO getComment(int bno) throws SQLException;
	
	
	
}
